﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SHKF.B2C.JuShuiTan.Model.Inter.OrdersQuery
{
   public  class OrdersSingleParam
    {
        /// <summary>
        /// 店铺编号
        /// </summary>
        public int shop_id { get; set; }

        private bool _is_offline_shop = true; 
       
        /// <summary>
        /// shop_id为0且is_offline_shop为true查询线下店铺单据
        /// </summary>
        public bool is_offline_shop
        {
            get { return _is_offline_shop; }
            set { _is_offline_shop = value; }
        }

        /// <summary>
        /// 线上单号，最大限制20条
        /// </summary>
        public List<string> so_ids { get; set; }
         
        private string _modified_begin = "";
        /// <summary>
        /// 修改起始时间，和结束时间必须同时存在，时间间隔不能超过七天，与线上单号不能同时为空
        /// </summary>
        public string modified_begin
        {
            get { return _modified_begin; }
            set { _modified_begin = value; }
        }

        private string _modified_end;
        /// <summary>
        /// 修改结束时间，和起始时间必须同时存在，时间间隔不能超过七天，与线上单号不能同时为空
        /// </summary>
        public string modified_end
        {
            get { return _modified_end; }
            set { _modified_end = value; }
        }

        private string _status = "";
        /// <summary>
        /// 待付款：WaitPay；
        /// 发货中：Delivering；
        /// 被合并：Merged；0
        /// 异常：Question；
        /// 被拆分：Split；
        /// 等供销商|外仓发货：
        /// WaitOuterSent；已付款待审核：
        /// WaitConfirm；已客审待财审：
        /// WaitFConfirm；已发货：
        /// Sent；取消：Cancelled
        /// </summary>
        public string status
        {
            get { return _status; }
            set { _status = value; }
        }

        private int _page_index = 1;
        /// <summary>
        /// 第几页，从1开始
        /// </summary>
        public int page_index
        {
            get { return _page_index; }
            set { _page_index = value; }
        }

        private int _page_size;
        /// <summary>
        /// 最每页多少条，最大50条
        /// </summary>
        public int page_size
        {
            get { return _page_size; }
            set { _page_size = value; }
        }

    }
}
